class Duck
  def initialize(name)
    @name = name
  end

  def eat
    puts "Duck #{@name} is eating"
  end

  def speak
    puts "Duck #{@name} say Gua Gua"
  end

  def sleep
    puts "Duck #{@name} is sleep"
  end
end
